<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/tld/util.tld" prefix="util" %>

<div id="main">

<c:if test="${!empty page.datas }">
<c:forEach items="${page.datas }" var="commodityList" >
<c:set var="commodity" value="${commodityList.commodity}"></c:set>
<c:set var="safetyUser" value="${commodityList.safetyUser}"></c:set>
 <div class="list_item">
	<div class="item_avatar"><img src="images/avatar_02.jpg" width="64" height="64" alt="avatar_01" /></div>
		<div class="item_content">
        	<div class="item_left">
            	<a href="#" class="item_title">${commodity.commoditytitle}</a>
				<div class="item_info">
                   	<ul>
						<li><div>书名&nbsp;:</div></li>
						<li><div>价格&nbsp;:</div></li>
						<li><div>新旧程度&nbsp;:</div></li>
						<li><div>联系方式&nbsp;:</div></li>
						<li><div>说明&nbsp;:</div></li>
						<br/>
						<li><div>发布日期&nbsp;:</div></li>
					</ul>
                </div>
            </div>
            <div class="item_right" >
           		<div class="item_img"><img src="images/book_img_02.png" width="150" height="175" alt="book01" /></div>
               <div class="item_more"><a href="#"><span><img src="images/xiangqing.png" width="15" height="14"/></span>详情</a></div>
            </div>
    	</div>
	<div class="item_triangle"></div>
</div>
</c:forEach>
</c:if>	
</div>